package com.youle.askdao.controller;

import cn.hutool.json.JSONUtil;
import com.youle.askdao.common.result.Result;
import com.youle.askdao.common.result.ResultException;
import com.youle.askdao.common.result.ResultUtil;
import com.youle.askdao.entity.bean.User;
import com.youle.askdao.service.UserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author: create by MrGe
 * @version: v1.0
 * @description: com.youle.askdao.controller
 * @date:2019-07-23
 */
@Api(description = "测试控制器")
@RestController
public class TestController {

    @GetMapping(value = "test")
    public Result getUsers() {
        return ResultUtil.success();
    }

}
